package cc.yiueil.mapper;

import cc.yiueil.entity.UserEntity;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    UserEntity getUserById(@Param(value = "id") String id);

    UserEntity getUserByLoginName(@Param(value = "loginName") String loginName);

    int insertUser(UserEntity user);
}
